//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "stdafx.h"
#include "Form_Fuzzy.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TFormFuzzy *FormFuzzy;
//---------------------------------------------------------------------------
__fastcall TFormFuzzy::TFormFuzzy(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::FormCreate(TObject *Sender)
{
	initial_fuzzy_table();
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_E_NB_BarChange(TObject *Sender)
{
	Fuzzy_E_NB->Text = IntToStr(Fuzzy_E_NB_Bar->Position);
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_E_NS_BarChange(TObject *Sender)
{
	Fuzzy_E_NS->Text = IntToStr(Fuzzy_E_NS_Bar->Position);
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_E_ZE_BarChange(TObject *Sender)
{
	Fuzzy_E_ZE->Text = IntToStr(Fuzzy_E_ZE_Bar->Position);
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_E_PS_BarChange(TObject *Sender)
{
	Fuzzy_E_PS->Text = IntToStr(Fuzzy_E_PS_Bar->Position);
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_E_PB_BarChange(TObject *Sender)
{
	Fuzzy_E_PB->Text = IntToStr(Fuzzy_E_PB_Bar->Position);
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_ED_NB_BarChange(TObject *Sender)
{
	Fuzzy_ED_NB->Text = IntToStr(Fuzzy_ED_NB_Bar->Position)/100.0;
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_ED_NS_BarChange(TObject *Sender)
{
	Fuzzy_ED_NS->Text = IntToStr(Fuzzy_ED_NS_Bar->Position)/100.0;
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_ED_ZE_BarChange(TObject *Sender)
{
	Fuzzy_ED_ZE->Text = IntToStr(Fuzzy_ED_ZE_Bar->Position)/100.0;
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_ED_PS_BarChange(TObject *Sender)
{
	Fuzzy_ED_PS->Text = IntToStr(Fuzzy_ED_PS_Bar->Position)/100.0;
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_ED_PB_BarChange(TObject *Sender)
{
	Fuzzy_ED_PB->Text = IntToStr(Fuzzy_ED_PB_Bar->Position)/100.0;
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_Out_NB_BarChange(TObject *Sender)
{
	Fuzzy_Out_NB->Text = FloatToStr((float)Fuzzy_Out_NB_Bar->Position/10.0);
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_Out_NS_BarChange(TObject *Sender)
{
	Fuzzy_Out_NS->Text = FloatToStr((float)Fuzzy_Out_NS_Bar->Position/10.0);
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_Out_ZE_BarChange(TObject *Sender)
{
	Fuzzy_Out_ZE->Text = FloatToStr((float)Fuzzy_Out_ZE_Bar->Position/10.0);
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_Out_PS_BarChange(TObject *Sender)
{
	Fuzzy_Out_PS->Text = FloatToStr((float)Fuzzy_Out_PS_Bar->Position/10.0);
}
//---------------------------------------------------------------------------
void __fastcall TFormFuzzy::Fuzzy_Out_PB_BarChange(TObject *Sender)
{
	Fuzzy_Out_PB->Text = FloatToStr((float)Fuzzy_Out_PB_Bar->Position/10.0);
}
//---------------------------------------------------------------------------
